#ifndef HF_CURRENTCONDITIONSDISPLAY_H
#define HF_CURRENTCONDITIONSDISPLAY_H

#include <iostream>
#include <memory>
using namespace std;

#include "hf_subject.h"
#include "hf_observer.h"
#include "hf_displayelement.h"

namespace HeadFirstS {
    class HF_CurrentConditionsDisplay : public HF_Observer,
                                        public HF_DisplayElement
    {
    public:
        HF_CurrentConditionsDisplay(HF_Subject* pWeatherData);
        void update(float temperature,
                    float humidity,
                    float pressure);
        void display();

    private:
        float                       m_temperature ;
        float                       m_humidity    ;
        HF_Subject*                 m_pWeaterData ;

    };
}

#endif // HF_CURRENTCONDITIONSDISPLAY_H
